plugins {
    id("com.android.library")
    alias(libs.plugins.jetbrains.kotlinx.serialization)
    alias(libs.plugins.jetbrains.kotlin.android)
}

android {
    namespace = "ru.reaperoq.inventory.core"
    compileSdk = 34

    compileOptions {
        sourceCompatibility = JavaVersion.VERSION_17
        targetCompatibility = JavaVersion.VERSION_17
    }

    kotlinOptions {
        jvmTarget = "17"
    }
}
dependencies {
    implementation(libs.androidx.core.ktx)
    with(libs.ktor.client) {
        api(core)
        implementation(okhttp)
        implementation(content.negotiation)
        implementation(serialization)
        implementation(logging)
    }

    api(libs.kotlinx.coroutines.core)
    api(libs.kotlinx.serialization)

    api(libs.kvault)

    with(libs.koin) {
        api(core)
    }
}
